package nuc.edu.cn.client;

import nuc.edu.cn.service.IUserService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

@SuppressWarnings({"all"})
public class Client01 {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("myConfig01.xml");
        IUserService userService = (IUserService) applicationContext.getBean("userService");
        userService.saveUser("2113042619-赵彦博");
    }
}
